<?php

class Modulos_model extends Model {

    public function listaModulos()
    {
        try {
            $modulos = Doctrine::getTable('NwsAdmSistema')->findAll();
            return $modulos;
        } catch (Doctrine_Exception $e) {
            print $e->getMessage();
        }   
    }
    

}

?>
